﻿using Newtonsoft.Json;

namespace NotifyCenter.Sender.ResponseModels; // 建议放在单独的响应模型命名空间

/// <summary>官方标准响应体</summary>
public class FeishuBotResponse
{
    [JsonProperty("code")]
    public int Code { get; set; }

    [JsonProperty("msg")]
    public string Msg { get; set; } = string.Empty;

    [JsonIgnore]
    public bool IsSuccess => Code == 0;
}